.class Lcom/xingbook/park/view/b;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# instance fields
.field final synthetic a:Lcom/xingbook/park/view/a;

.field private final synthetic b:I


# direct methods
.method constructor <init>(Lcom/xingbook/park/view/a;I)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    iput p2, p0, Lcom/xingbook/park/view/b;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 5

    const/4 v4, 0x0

    const/4 v3, 0x2

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0}, Lcom/xingbook/park/view/a;->b(Lcom/xingbook/park/view/a;)Lcom/xingbook/park/view/c;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0}, Lcom/xingbook/park/view/a;->b(Lcom/xingbook/park/view/a;)Lcom/xingbook/park/view/c;

    move-result-object v0

    iget v0, v0, Lcom/xingbook/park/view/c;->a:I

    if-eq v0, v3, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-virtual {v0}, Lcom/xingbook/park/view/a;->clearAnimation()V

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0, v4}, Lcom/xingbook/park/view/a;->a(Lcom/xingbook/park/view/a;Lcom/xingbook/park/view/c;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0}, Lcom/xingbook/park/view/a;->b(Lcom/xingbook/park/view/a;)Lcom/xingbook/park/view/c;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    new-instance v1, Lcom/xingbook/park/view/c;

    iget-object v2, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-direct {v1, v2, v4}, Lcom/xingbook/park/view/c;-><init>(Lcom/xingbook/park/view/a;Lcom/xingbook/park/view/c;)V

    invoke-static {v0, v1}, Lcom/xingbook/park/view/a;->a(Lcom/xingbook/park/view/a;Lcom/xingbook/park/view/c;)V

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0}, Lcom/xingbook/park/view/a;->b(Lcom/xingbook/park/view/a;)Lcom/xingbook/park/view/c;

    move-result-object v0

    iput v3, v0, Lcom/xingbook/park/view/c;->a:I

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    iget v1, p0, Lcom/xingbook/park/view/b;->b:I

    invoke-virtual {v0, v1}, Lcom/xingbook/park/view/a;->setPercent(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/b;->a:Lcom/xingbook/park/view/a;

    invoke-static {v0}, Lcom/xingbook/park/view/a;->c(Lcom/xingbook/park/view/a;)V

    return-void
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0

    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 0

    return-void
.end method
